﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{site.seo_title}</title>
<meta name="keywords" content="{site.seo_keyword}" />
<meta name="description" content="{site.seo_description}" />
<link href="<%templateskin%>/css/common.css" rel="stylesheet" type="text/css" />
<link href="<%templateskin%>/css/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin%>/js/common.js"></script>
<!--图片切换的js-->
<script type="text/javascript">
$(function () {
    var $con = $('#gg'), $box = $con.find('#ggBox'), $btns = $con.find('#ggBtns'), i = 0, autoChange = function () {
        i += 1;
        if (i === 4) { i = 0; }
        $btns.find('a:eq(' + i + ')').addClass('current').siblings().removeClass('current');
        var curr = $box.find('a:eq(' + i + ')'), prev = curr.siblings();
        prev.css('z-index', 2);
        curr.css('z-index', 3).animate({
            'opacity': 1
        }, 150, function () {
            prev.css({
                'z-index': 1, 'opacity': 0.1
            });
        });
    }, loop = setInterval(autoChange, 5000);
	
    $con.hover(function () {
        clearInterval(loop);
    }, function () {
        loop = setInterval(autoChange, 5000);
    });
	
    $btns.find('a').click(function () {
        i = $(this).index() - 1;
        autoChange();
    });
	
});	
</script>
<!--图片切换的js-->
</head>

<body>
<!--Header-->
<%template src="_header.html"%>
<!--/Header--> 


  <!-- 说明开始 -->
  <div id="banner_txt">
    <div class="banner_txt">
      <ul class="clearfix">
        <li class="zhuangxiu">
          <h3>装修省钱上锤子</h3>
          <p>直面锤子装修工长，价格少30%</p>
        </li>
        <li class="pay">
          <h3>监督质量叫锤子</h3>
          <p>锤子工长网负责监督代管</p>
        </li>
        <li class="free">
          <h3>后期问题找锤子</h3>
          <p>6项免费服务，2-5年延保</p>
        </li>
      </ul>
      <div class="hotline">
      <a href="<%linkurl("content","chengnuo")%>" target="_blank">
      <img src="<%templateskin%>/images/hotline.png">
        <div class="hotline_bg"></div></a>
      </div>
    </div>
  </div>
  <!-- 说明结束 --> 
  
<!--图片切换的开始-->
<div class="gg" id="gg">
  <div id="indexPageBannerWrapper">
    <div class="bannerWrapper_insideW">
      <div class="yahei" style="height:60px;line-height:74px;font-size:34px;text-align:center;">免费预约锤子好工长</div>
      <div class="fourInfoW">免费提交需求，5年以上经验装修工长免费上门量房</div>
      <div style="padding:0 0 0 37px;">
        <form onsubmit="return applySubmit(this);" class="bannerApplyForm">
          <div class="line">
              <input class="inp txtApplyName" name="txtApplyName"  placeholder="您的称呼" />
              <input  name="ddlApplyType" class="ddlApplyType" type="hidden" value="1" />
          </div>
          <div class="line">
              <input class="inp txtApplyPhone" name="txtApplyPhone" placeholder="手机号码" />
          </div>
          <div class="line">
              <input class="inp txtApplyCity" name="txtApplyCity" placeholder="小区名称/地址" />
            <div class="clear"></div>
          </div>
          <div class="line">
            <select class="sel txtApplySummary" name="txtApplySummary">
            	<option selected="selected" value="">请选择装修方式</option>
                <option value="全包">全包</option>
                <option value="半包">半包</option>
                <option value="清包">清包</option>
            </select>
              <input name="txtApplyInfo" class="txtApplyInfo" type="hidden" value="" />
          </div>
          <input type="submit"  class="sendApplyBtn" value="立即预约工长"/>
        </form>
      </div>
      <div class="promiseW"><span style="color:#ff4400;">锤子工长网：</span>互联网装修革命，砍掉所有暴利环节，比任何装修平台都更省钱，同时还可享受第三方装修保障，真正做到，省钱有保障。</div>
    </div>
  </div>
  <div class="ggLoading">
    <div class="ggLoading2"><em>精彩活动载入中</em></div>
  </div>
  <div class="ggs">
    <div class="ggBox" id="ggBox"> 
    <a href="javascript:ForemanApply('apply','来锤子找工长','0')" style="z-index:3;opacity:4;"><img src="<%templateskin%>/images/banner4.jpg" alt="" /></a> 
    <a href="<%linkurl("foreman_list")%>"><img src="<%templateskin%>/images/banner1.jpg" alt="" /></a> 
    <a href="<%linkurl("foreman_list")%>"><img src="<%templateskin%>/images/banner2.jpg" alt="" /></a>
    <a href="<%linkurl("foreman_list")%>"><img src="<%templateskin%>/images/banner3.jpg" alt="" /></a>
     </div>
  </div>
  <div class="ggb">
    <div class="ggBtns" id="ggBtns"> 
    <a href='javascript:void(0)' class="current"></a> 
    <a href='javascript:void(0)'></a>
    <a href='javascript:void(0)'></a> 
    <a href='javascript:void(0)'></a> 
     </div>
  </div>
</div>
<!--图片切换的结束--> 

<!--四块介绍部分开始-->
<ul class="f_process_container clearfix">
  <li class="f_process_1">
    <h3>预约免费服务</h3>
    <p>在线预约  电话预约</p>
  </li>
  <li class="f_process_2">
    <h3>挑选工长</h3>
    <p>多套装修方案PK</p>
  </li>
  <li class="f_process_3">
    <h3>签订装修三方协议</h3>
    <p>工长 业主 平台三方协议</p>
  </li>
  <li class="f_process_4">
    <h3>装修过程全监控</h3>
    <p>现金监督  工程监督 实时互动</p>
  </li>
  <li class="f_process_5">
    <h3>装修售后保障</h3>
    <p>基础工程2年、隐蔽工程5年保</p>
  </li>
</ul>

<!--选工长-->
<div class="f_gongzhang_comment_content">
  <div class="f_gongzhang_comment clearfix">
    <div class="f_content_left"> 
      <!-- 选工长 start -->
      <div class="f_gongzhang">
        <div class="f_title clearfix">
          <h3>选工长</h3>
          <p>锤子<strong>百名</strong>十年以上经验的工长，只有让您寻找<strong>合拍</strong>的工长</p>
          <a target="_blank" href="<%linkurl("foreman_list")%>">更多</a> </div>
        <div class="f_gongzhang_scroll_list">
          <div id="f_gongzhang_scroll_list">
            <ul class="clearfix">
            
          <%set DataTable foreman_list=get_foreman_list(6,"","fore_isred desc,fore_sort asc,id desc")%>
          <%foreach(DataRow dr in foreman_list.Rows)%>
          	  <li> <a target="_blank" href="<%linkurl("foreman_show",{dr[id]})%>" class="scroll_list_a"><img src="{dr[avatar]}" alt="{dr[nick_name]}"></a>
                <div class="f_gongzhang_msg">
                  <div class="f_gongzhang_name"> <a target="_blank" href="<%linkurl("foreman_show",{dr[id]})%>">{dr[nick_name]}</a></div>
                  <p class="fen">综合评级：<em>{dr[fore_level]}星</em>级工长</p>
                  <p class="li2-bg"><span class="star{dr[fore_level]}0 active"></span></p>
                  <p>籍　　贯：{dr[address]}</p>
                  <p>从业年限：<%=get_foreman_work({dr[fore_work]})%></p>
                  <p>工地质量：<%=get_fore_grade({dr[fore_grade]})%></p>
                </div>
              </li>
          <%/foreach%>
            </ul>
          </div>
        </div>
      </div>
      <!-- 选工长 end --> 
    </div>
    <div class="f_content_right"> 
      <!-- 最新签约 start -->
      <div class="f_qianyue">
        <div class="f_title clearfix">
          <h3>最新签约</h3>
          <a target="_blank" href="<%linkurl("msign_list",54)%>">更多</a> </div>
        <ul class="clearfix">
          <%set DataTable qianyue_list=get_article_list("cases",54,3, "status=0 and img_url<>''")%>
          <%foreach(DataRow dr in qianyue_list.Rows)%>
          <li> <a target="_blank" href="<%linkurl("cases_show",{dr[id]})%>" class="qianyue_a"> <img src="{dr[img_url]}" alt=""> </a>
            <div class="f_qianyue_msg">
              <p class="f_zhuangxiu_title"><a target="_blank" href="#" style="font:bold 14px/22px 微软雅黑;">{dr[title]}</a></p>
              <p>{dr[zhaiyao]}</p>
            </div>
          </li>
          <%/foreach%>
        </ul>
      </div>
      <!-- 最新签约 end --> 
    </div>
  </div>
</div>

<!--广告banner条-->
<div class="layout-index clear" style="padding-top:50px;"> <a href="javascript:;"><img src="<%templateskin%>/images/ad2.jpg" width="1220" height="90"></a></div>

<!--在建工地项目-->
<div class="layout-index clear">
  <div class="index_tit">
    <h2 class="t3">锤子工地监督<img src="<%templateskin%>/images/index_pic.png" width="540" height="450"></h2>
    <p>已为986位业主提供装修服务，锤子有没有在你家附近施工呢</p>
  </div>
  <div class="i-gd">
    <ul>
      <%set DataTable gongdi_list=get_article_list_left_foreman("cases",53,5, "view_channel_cases.status=0 and img_url<>''","click desc")%>
      <%foreach(DataRow dr in gongdi_list.Rows)%>
      <li>
        <div class="pic"> <a href="<%linkurl("cases_show",{dr[id]})%>"> <img src="{dr[img_url]}" width="175" height="175"> <span class="trans075"></span>
          <p class="ellipsis">{dr[area_name]}</p>
          </a> </div>
        <div class="n-b"> <a href="#"> <img src="{dr[avatar]}" class="tx" alt="{dr[nick_name]}"> </a>
          <div class="xm ellipsis"> <a href="#">{dr[nick_name]}</a> </div>
          <div class="level">{dr[fore_level]}星工长</div>
        </div>
        <div class="gk">
          <div class="txt ellipsis">工地}：{dr[area_way]} {dr[area_size]}㎡ {dr[area_layout]}</div>
          <div class="txt ellipsis">时间：
            <%datetostr({dr[add_time]},yyyy-MM-dd)%>
            日成交</div>
        </div>
        <a href="javascript:ForemanApply('visit','我要参观该工地','{dr[fore_id]}','{dr[nick_name]}')" class="J_callVisit btn" >免费预约参观</a>
        <div class="v-b"> <i class="view"></i>{dr[Click]}<i class="hf"></i>0 </div>
      </li>
      <%/foreach%>
    </ul>
  </div>
</div>

<!--最新申请报价业主-->
<div class="layout-index clear">
  <div class="index_tit">
    <h2 class="t4">最新申请量房业主<img src="<%templateskin%>/images/index_pic.png" width="540" height="450"></h2>
    <p>已有&nbsp;6865279&nbsp;位业主发布工长装修招标信息</p>
  </div>
</div>
<div class="layout-index clear i-lf-b">
  <div class="i-lf clear">
    <ul>
      <%set DataTable baojia_list=get_article_list("cases",0,15, "status=0 ")%>
      <%foreach(DataRow dr in baojia_list.Rows)%>
      <li>
        <p class="price ellipsis">￥{dr[area_price]}</p>
        <a href="javascript:;" class="name ellipsis">{dr[area_layout]}{dr[area_size]}㎡</a>
        <p class="cityP ellipsis">小区：{dr[area_name]}</p>
        <p class="date">发布时间：
          <%datetostr({dr[add_time]},yyyy-MM-dd)%>
        </p>
      </li>
      <%/foreach%>
    </ul>
    <div class="i-lf-bt"></div>
  </div>
  <div class="i-lf-form">
    <div class="t1 yaheiT">工长直接报价  免费量房</div>
    <div class="t2">三装修工长，为您免费报价选择最佳</div>
    <div style="padding-left:23px;">
      <form onsubmit="return applySubmit(this);" class="applyBarForm">
        <div class="line">
            <input class="inp txtApplyName" value="" name="txtApplyName"  placeholder="您的姓名" />
            <input name="ddlApplyType" class="ddlApplyType" type="hidden" value="3" />
        </div>
        <div class="line">
            <input class="inp txtApplyPhone" value="" name="txtApplyPhone"  placeholder="手机号码" />
        </div>
        <div class="line">
            <input class="inp txtApplyCity" value="" name="txtApplyCity" placeholder="小区地址/名称" />
          <input  name="txtApplyInfo" class="txtApplyInfo" type="hidden" value="" />
        </div>
        <input type="submit"  class="sendApplyBtn" value="立即免费申请"/>
        <div class="promiseW"><span style="color:#ff4400;">我们承诺：</span>为了您的利益以及我们的口碑，您的隐私将被严格保密。</div>
      </form>
    </div>
  </div>
</div>

<!--广告banner条-->
<div class="layout-index clear" style="padding-top:50px;"> <a href="javascript:;"><img src="<%templateskin%>/images/index-banner.jpg" width="1220" height="90"></a></div>

<!--热点新闻-->
<div class="layout-index clear" style="margin-bottom:60px;">
  <div class="index_tit">
    <h2 class="t6">装修热点新闻<img src="<%templateskin%>/images/index_pic.png" width="540" height="450"></h2>
    <p>已帮&nbsp;1505009&nbsp;位业主解答装修知识</p>
  </div>
  <div class="i-h-n">
    <div class="h-n-box">
      <div class="tit">
        <h3>新闻公告</h3>
        <a href="<%linkurl("news_list",3)%>">更多&gt;</a> </div>
      <%set DataTable newsList=get_article_list("news",3,4,"status=0")%>
      <%loop newdr newsList%>
      <%if(newdr__loop__id==1)%>
      <dl>
        <dt><a href="<%linkurl("news_show",{newdr[id]})%>">
        <%if ({newdr[img_url]}!="") %>
        <img src="{newdr[img_url]}" width="140" height="110" alt="{newdr[title]}">
        <%else%>
        <img src="<%templateskin%>/images/moren.jpg" width="140" height="110" alt="{newdr[title]}">
        <%/if%>
        </a></dt>
        <dd> <a href="<%linkurl("news_show",{newdr[id]})%>" class="ellipsis">{newdr[title]}</a>
          <p><%cutstring({newdr[zhaiyao]},66)%></p>
          <span>{newdr[add_time]}</span> </dd>
      </dl>
      <%else%>
      <div class="list"> <a href="<%linkurl("news_show",{newdr[id]})%>" class="ellipsis">{newdr[title]}</a>
        <p><%cutstring({newdr[zhaiyao]},100)%></p>
        <span>{newdr[add_time]}</span> </div>
      <%/if%>
      </li>
      <%/loop%>
    </div>
    <div class="h-n-box">
      <div class="tit">
        <h3>装修知识</h3>
        <a href="<%linkurl("news_list",4)%>">更多&gt;</a> </div>
      <%set DataTable zhishiList=get_article_list("news",4,4,"status=0")%>
      <%loop newdr2 zhishiList%>
      <%if(newdr2__loop__id==1)%>
      <dl>
        <dt><a href="<%linkurl("news_show",{newdr2[id]})%>">
        <%if ({newdr2[img_url]}!="") %>
        <img src="{newdr2[img_url]}" width="140" height="110" alt="{newdr2[title]}">
        <%else%>
        <img src="<%templateskin%>/images/moren.jpg" width="140" height="110" alt="{newdr2[title]}">
        <%/if%>
        </a></dt>
        <dd> <a href="<%linkurl("news_show",{newdr2[id]})%>" class="ellipsis">{newdr2[title]}</a>
          <p><%cutstring({newdr2[zhaiyao]},28)%></p>
          <span>{newdr2[add_time]}</span> </dd>
      </dl>
      <%else%>
      <div class="list"> <a href="<%linkurl("news_show",{newdr2[id]})%>" class="ellipsis">{newdr2[title]}</a>
        <p><%cutstring({newdr2[zhaiyao]},28)%></p>
        <span>{newdr2[add_time]}</span> </div>
      <%/if%>
      </li>
      <%/loop%>
    </div>
    <div class="h-n-box">
      <div class="tit">
        <h3>装修材料</h3>
        <a href="<%linkurl("news_list",5)%>">更多&gt;</a> </div>
      <%set DataTable cailiaoList=get_article_list("news",5,4,"status=0")%>
      <%loop newdr3 cailiaoList%>
      <%if(newdr3__loop__id==1)%>
      <dl>
        <dt><a href="<%linkurl("news_show",{newdr3[id]})%>">
        <%if ({newdr3[img_url]}!="") %>
        <img src="{newdr3[img_url]}" width="140" height="110" alt="{newdr3[title]}">
        <%else%>
        <img src="<%templateskin%>/images/moren.jpg" width="140" height="110" alt="{newdr3[title]}">
        <%/if%>
        </a></dt>
        <dd> <a href="<%linkurl("news_show",{newdr3[id]})%>" class="ellipsis">{newdr3[title]}</a>
          <p><%cutstring({newdr3[zhaiyao]},28)%></p>
          <span>{newdr3[add_time]}</span> </dd>
      </dl>
      <%else%>
      <div class="list"> <a href="<%linkurl("news_show",{newdr3[id]})%>" class="ellipsis">{newdr3[title]}</a>
        <p><%cutstring({newdr3[zhaiyao]},28)%></p>
        <span>{newdr3[add_time]}</span> </div>
      <%/if%>
      </li>
      <%/loop%>
    </div>
  </div>
</div>

<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->
</body>
</html>